using NopSolutions.NopCommerce.BusinessLogic.Products.Specs;

namespace NopSolutions.NopCommerce.LuceneHelper
{
    public class SpecificationAttributeOptionValue : SpecificationAttributeOption
    {
        public SpecificationAttributeOptionValue()
        {

        }
        public SpecificationAttributeOptionValue(SpecificationAttributeOption inheritFrom, long total)
        {
            this.DisplayOrder = inheritFrom.DisplayOrder;
            this.Name = inheritFrom.Name;
            this.SpecificationAttributeId = inheritFrom.SpecificationAttributeId;
            this.SpecificationAttributeOptionId = inheritFrom.SpecificationAttributeOptionId;
            this.Total = total;
        }
        public long Total { get; set; }
        public string SpecificationAttributeName
        {
            get { return base.SpecificationAttribute.LocalizedName; }
        }
        public string SpecificationAttributeOptionName
        {
            get { return LocalizedName; }
        }
    }
    //public class SpecificationFacetValue
    //{
    //    private long _total;
    //    private int _specificationOptionId;
    //    private string _specificationOptionName;
    //    private int _specificationId;
    //    private string _specificationName;
    //    private int _displayOrder;
    //    private int _specDisplayOrder;

    //    public SpecificationFacetValue(int specificationOptionId, string specificationOptionName, int specificationId, string specificationName, long total, int displayOrder, int specDisplayOrder)
    //    {
    //        _specificationOptionId = specificationOptionId;
    //        _specificationOptionName = specificationOptionName;
    //        _specificationId = specificationId;
    //        _specificationName = specificationName;
    //        _total = total;
    //        _displayOrder = displayOrder;
    //        _specDisplayOrder = displayOrder;
    //    }
    //    public long Total
    //    {
    //        get { return _total; }
    //        set { _total = value; }
    //    }

    //    public string SpecificationOptionName
    //    {
    //        get { return _specificationOptionName; }
    //        set { _specificationOptionName = value; }
    //    }

    //    public int SpecificationOptionId
    //    {
    //        get { return _specificationOptionId; }
    //        set { _specificationOptionId = value; }
    //    }

    //    public int SpecificationId
    //    {
    //        get { return _specificationId; }
    //        set { _specificationId = value; }
    //    }

    //    public string SpecificationName
    //    {
    //        get { return _specificationName; }
    //        set { _specificationName = value; }
    //    }

    //    public int DisplayOrder
    //    {
    //        get { return _displayOrder; }
    //        set { _displayOrder = value; }
    //    }

    //    public int SpecDisplayOrder
    //    {
    //        get { return _specDisplayOrder; }
    //        set { _specDisplayOrder = value; }
    //    }
    //}
}
